package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 客户对象 customer
 *
 * @author ruoyi
 * @date 2021-08-25
 */
public class Customer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 销售负责人 */
    @Excel(name = "销售负责人")
    private String staffFollower;

    /** 重要级别 */
    @Excel(name = "重要级别")
    private String level;

    /** 未联系天数 */
    @Excel(name = "未联系天数")
    private Long uncontactDays;

    /** 客户类型 */
    @Excel(name = "客户类型")
    private String customerType;

    /** 下次回访日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下次回访日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date nextRevisitTime;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String telName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String telephone;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setStaffFollower(String staffFollower)
    {
        this.staffFollower = staffFollower;
    }

    public String getStaffFollower()
    {
        return staffFollower;
    }
    public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel()
    {
        return level;
    }
    public void setUncontactDays(Long uncontactDays)
    {
        this.uncontactDays = uncontactDays;
    }

    public Long getUncontactDays()
    {
        return uncontactDays;
    }
    public void setCustomerType(String customerType)
    {
        this.customerType = customerType;
    }

    public String getCustomerType()
    {
        return customerType;
    }
    public void setNextRevisitTime(Date nextRevisitTime)
    {
        this.nextRevisitTime = nextRevisitTime;
    }

    public Date getNextRevisitTime()
    {
        return nextRevisitTime;
    }
    public void setTelName(String telName)
    {
        this.telName = telName;
    }

    public String getTelName()
    {
        return telName;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("customerName", getCustomerName())
                .append("staffFollower", getStaffFollower())
                .append("level", getLevel())
                .append("uncontactDays", getUncontactDays())
                .append("customerType", getCustomerType())
                .append("updateTime", getUpdateTime())
                .append("nextRevisitTime", getNextRevisitTime())
                .append("telName", getTelName())
                .append("telephone", getTelephone())
                .toString();
    }
}